app=xfce4-panel
version=4.16.1
build=1sml
homepage="https://docs.xfce.org/xfce/xfce4-panel/start"
download="https://archive.xfce.org/xfce/4.16/src/xfce4-panel-4.16.0.tar.bz2"
desc="Panel for the Xfce Desktop Environment"
requires="desktop-file-utils exo garcon libxfce4ui xfconf"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
ec55a9812d61db755ea56a87ea1b709af2870703fc0e5a45797406f2f4c78e8afecd6e1bc081f3618a81030c9c0595ae8edbb29731d4bef3750e202bbf35e99c  xfce4-panel-4.16.1.tar.bz2
"