# Template build file for 'mtdev'.
pkgname=mtdev
version=1.1.6
revision=1
build_style=gnu-configure
short_desc="Multitouch Protocol Translation Library"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://bitmath.org/code/mtdev/"
license="MIT"
distfiles="http://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2"
checksum=15d7b28da8ac71d8bc8c9287c2045fd174267bc740bec10cfda332dc1204e0e0

post_install() {
	vlicense COPYING
}

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