NAME="libxdmcp"
DESC="X Display Manager Control Protocol libary"
VERSION="1.1.4"
FILES=("https://www.x.org/pub/individual/lib/libXdmcp-$VERSION.tar.xz")
HASHES=("0b4056a282c1e14323d5daef8fb5345d")
DEPENDS=()

PACKAGE() {
  tar xf libXdmcp-$VERSION.tar.xz
  cd libXdmcp-$VERSION

  ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-static \
    --docdir=/usr/share/doc/libXdmcp-$VERSION
  make && make DESTDIR=$ROOTDIR install

  cd .. && rm -rf libXdmcp-$VERSION
}
