app=xfce4-terminal
version=0.8.10
build=1sml
homepage="https://docs.xfce.org/apps/terminal/start"
download="https://archive.xfce.org/src/apps/xfce4-terminal/0.8/xfce4-terminal-0.8.10.tar.bz2"
desc="Modern terminal emulator for the Xfce Desktop Environment"
requires="libxfce4ui vte5"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
92310837445adf3b611c069d28abea05650b93d54500c0436fb90e0a9be8846122d6ca69f8e6f89a11f2067dc4bfae5557bb11af48d62135b2e5eb395ccdb0f4  xfce4-terminal-0.8.10.tar.bz2
"