# Description: A graphical user interface for the smartctl hard disk drive health inspection tool.
# URL: http://gsmartcontrol.sourceforge.net/home/
# Maintainer: UNMAINTAINED
# Depends on: gtkmm3 smartmontools xmessage

name=gsmartcontrol
version=1.1.4
release=1
source=(https://github.com/ashaduri/$name/releases/download/v$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
}
