NAME="xfce4-power-manager"
DESC="Xfce4 Power Manager is a power manager for the Xfce desktop"
VERSION="4.18.2"
FILES=("https://archive.xfce.org/src/xfce/xfce4-power-manager/4.18/xfce4-power-manager-$VERSION.tar.bz2")
HASHES=("bc5333fdd3dcd305483e2a44a5e0d90b")
DEPENDS=("libnotify" "upower" "xfce4-panel")

PACKAGE() {
  tar xf $NAME-$VERSION.tar.bz2
  cd $NAME-$VERSION

  ./configure --prefix=/usr --sysconfdir=/etc
  make && make DESTDIR="$ROOTDIR" install

  cd .. && rm -r $NAME-$VERSION
}
