description="Interface to the X Window System protocol, which replaces the current Xlib interface."
url="http://xcb.freedesktop.org"

packager="Spiky <spiky@nutyx.org>"
contributors="Pierre,Tnut"

makedepends=(xcb-proto xorg-libxdmcp xorg-libxau libxslt)

name=libxcb
version=1.15

source=(http://xcb.freedesktop.org/dist/$name-$version.tar.xz)

build() {
cd $name-$version

sed -e "s/pthread-stubs//" -i configure

./configure --prefix=/usr \
	    --sysconfdir=/etc \
	    --localstatedir=/var \
            --disable-static \
	    --docdir='${datadir}'/doc/libxcb-$version \
	    --enable-xinput \
            --enable-xkb
make
make DESTDIR=$PKG install
rm $PKG/usr/lib/*.la
}
