NAME="xwd"
DESC="X Window System image dumping utility"
VERSION="1.0.9"
FILES=("https://www.x.org/pub/individual/app/xwd-$VERSION.tar.xz")
HASHES=("b0081fb92ae56510958024242ed1bc23")
DEPENDS=("libx11" "libxkbfile")

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

  ./configure $XORG_CONFIG
  make && make DESTDIR=${ROOTDIR} install

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