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

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

packager="Great-OS Team"
maintainer="rems"

name=libxcb
version=1.17.0
release=2

source=(https://xorg.freedesktop.org/archive/individual/lib/$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
}

