# Template build file for 'xf86-input-synaptics'.
pkgname=xf86-input-synaptics
version=1.7.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libX11-devel libXtst-devel mtdev-devel
 pixman-devel libpciaccess-devel xorg-server-devel>=1.13.1"
short_desc="Xorg synaptics touchpad input driver"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.x.org/"
license="MIT"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=db5825660e1fb23190697f609bf75d4450fe707344a14298e1c9b47039bbb58e

xf86-input-synaptics-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

xf86-input-synaptics_package() {
	depends="xserver-abi-input>=18<19"
	pkg_install() {
		vmove usr
	}
}
