# Template build for 'xcb-util-wm'.
pkgname=xcb-util-wm
version=0.3.9
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libxcb-devel>=1.8 xcb-util-devel>=0.3.9"
short_desc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
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=038f9bdb917b1f6d98a164f57dfb32212a102d771ab6f03de49fef3786746030
long_desc="
 This package provides client and window-manager helpers for ICCCM for XCB."

xcb-util-wm-devel_package() {
	depends="libxcb-devel xcb-util-wm>=${version}"
	short_desc="${sourcepkg} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

xcb-util-wm_package() {
	replaces="xcb-util<0.3.9"
	pkg_install() {
		vmove usr
	}
}
