APP=xhost
VERSION=1.0.8
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/xhost-1.0.8.tar.bz2"
DESC="Server access control program for X"
REQUIRES="libxmu libx11"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
ece2766bda644cc4bf5ebcb260731cccb1e1b0f65abe9ef1ea8d7747ca144f4de62c69bcd222333d3d76eabeb9c5134fd2838ee8180d6af607cc9240468a77a2  xhost-1.0.8.tar.lz
"
