# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: raubkopierer <mail[dot]sensenmann[at]gmail[dot]com>

pkgname=xautomation
pkgver=1.09
pkgrel=6
pkgdesc='Controls X from the command line and does "visual scraping".'
url='https://hoopajoo.net/projects/xautomation.html'
arch=('x86_64')
license=('GPL')
depends=('libpng' 'libxtst')
# upstream is down
#source=("https://hoopajoo.net/static/projects/${pkgname}-${pkgver}.tar.gz")
source=("https://web.archive.org/web/20170705022950if_/https://www.hoopajoo.net/static/projects/xautomation-1.09.tar.gz")
md5sums=('16b973fdb525feed876471225bba30ed')
sha256sums=('ee8f2c61165da682f58371a51cfc263d6e54609b614e712320b0987779d95f0d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr 
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install	
}
