# Template build for 'xcb-util'.
pkgname=xcb-util
version=0.3.9
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config gperf"
makedepends="libxcb-devel>=1.8"
short_desc="XCB utilities library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xcb.freedesktop.org"
license="GPL-2"
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
checksum=c611259c0ab20fd76f79f48f4684843c18ea9c967eba78a45e8b3636315c18c4

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