# Description: Interface to the X Window System protocol, which replaces the current Xlib interface.
# URL: http://xcb.freedesktop.org
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Depends on: xcb-proto xorg-libxdmcp xorg-libxau libxslt

name=libxcb
version=1.11.1
release=2

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

build() {
cd $name-$version

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

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