# Template file for 'grail'
pkgname=grail
version=3.1.1
revision=2
build_style=gnu-configure
configure_args="--with-x11"
hostmakedepends="pkg-config"
makedepends="frame-devel libXfixes-devel libXi-devel"
short_desc="Gesture Recognition And Instantiation Library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-3.0-only"
homepage="https://launchpad.net/grail"
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.bz2"
checksum=5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3

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