app=xhost
version=1.0.8
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xhost-$version.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
"
