# Template build file for 'libXi'.
pkgname=libXi
version=1.7.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config xmlto"
makedepends="inputproto>=2.3 libXfixes-devel libXext-devel"
short_desc="X Input extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=df24781dc63645e2b561cd0b20bd8a0e7aff02e426a8d2a7641159004d4cb20e

libXi-devel_package() {
	depends="inputproto libX11-devel libXext-devel libXfixes-devel libXi>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
