# Template file for 'lxde-libsysstat'
pkgname=lxde-libsysstat
version=0.2.0
revision=1
wrksrc="${pkgname#lxde-}-${version}"
build_style=cmake
configure_args="-DUSE_QT5=1"
hostmakedepends="cmake pkg-config"
makedepends="qt5-tools-devel liblxqt-devel libqtxdg-devel libXcursor-devel"
short_desc="Qt-based interface to system statistics"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://lxde.org/"
distfiles="https://github.com/lxde/libsysstat/archive/${version}.tar.gz"
checksum=746bd4fe8aacadbba5530aa8762302647d19a01a82a063e4290fd43b7d130dd5

lxde-libsysstat-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/share/cmake
	}
}