# Description: A graphical user interface for the smartctl hard disk drive health inspection tool.
# URL: http://gsmartcontrol.sourceforge.net/home/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gtkmm3 smartmontools xmessage

name=gsmartcontrol
version=1.1.3
release=1
source=(https://sourceforge.net/projects/$name/files/$version/$name-$version.tar.bz2)

build() {
	cd $name-$version

	CXXFLAGS+=' -std=c++11' \
	./configure --prefix=/usr

	make
	make DESTDIR=$PKG install

	rm -r $PKG/usr/share/doc
}
