app=x2x
version=1.32
build=1sml
homepage="https://github.com/dottedmag/x2x"
download=""
desc="Utility that enables input devices on one X display to control another X display"
requires="libx11 libxext libxi libxcb libxau libxdmcp libxtst"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar -xvf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./bootstrap.sh

  ./configure \
    --prefix=""

  make 
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
62da3a1ba19cef2349b97f1dd51af854b6447f1ca1d3e9ffb96ec185885f27bf1b65719222b73db8f5cf4b78f90e0cd0937d3d0c0d11ea151ccd05157cc70c07  x2x-1.32.tar.lz
"
