# Template build for 'xcb-util-wm'.
pkgname=xcb-util-wm
version=0.4.1
revision=3
build_style=gnu-configure
hostmakedepends="m4 pkg-config"
makedepends="libxcb-devel xcb-util-devel"
short_desc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xcb.freedesktop.org"
license="GPL-2"
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
checksum=28bf8179640eaa89276d2b0f1ce4285103d136be6c98262b6151aaee1d3c2a3f

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