app=xfdesktop
version=4.16.0
build=1sml
homepage="https://docs.xfce.org/xfce/xfdesktop/start"
download="https://archive.xfce.org/xfce/4.16/src/xfdesktop-4.16.0.tar.bz2"
desc="Xfce Desktop Manager"
requires="exo garcon libxfce4ui thunar"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-thunarx \
    --enable-notifications 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
e62e5fb12997c3138fa36aed06388b921f5223ec09afbd22b622ef39bc421773acbf73606ffc3b38b5a01845678847cda43d193c8457608715cf750acd466129  xfdesktop-4.16.0.tar.bz2
"