app=xfce4-screenshooter
version=1.9.8
build=1sml
homepage="https://docs.xfce.org/apps/screenshooter/start"
download="https://archive.xfce.org/src/apps/xfce4-screenshooter/1.9/xfce4-screenshooter-1.9.9.tar.bz2"
desc="Program to take screenshots in Xfce"
requires="libsoup xfce4-panel"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static 

  make
  make install DESTDIR=$pkg
 
  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
325697cf37075c313956621707ec9ae40a51ec85dfa65d73ccb8695a0b2d14cff0d62a9a30114b60b0404bd9ba25728bc4c350d3c2a65def6afa4a382883746a  xfce4-screenshooter-1.9.8.tar.bz2
"