# Template build file for 'mtdev'.
pkgname=mtdev
version=1.1.4
revision=1
build_style=gnu-configure
short_desc="Multitouch Protocol Translation Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://bitmath.org/code/mtdev/"
license="MIT"
distfiles="http://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2"
checksum=6b59b055ff22f2b91d4284187c2515826c338b81f6f33bd90f6bedc7c1fb9a38
long_desc="
 The mtdev is a stand-alone library which transforms all variants of kernel MT
 events to the slotted type B protocol. The events put into mtdev may be from
 any MT device, specifically type A without contact tracking, type A with
 contact tracking, or type B with contact tracking.

 The bulk of the mtdev code has been out there since 2008, as part of the
 Multitouch X Driver. With this package, finger tracking and seamless MT
 protocol handling is available under a free license." 

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

mtdev_package() {
	pkg_install() {
		vmove all
	}
}
