APP=dmenu
VERSION=4.5
BUILD=1sml
HOMEPAGE="http://tools.suckless.org/dmenu"
DOWNLOAD="https://dl.suckless.org/tools/dmenu-4.5.tar.gz"
DESC="Dynamic menu for X"
REQUIRES="libxext libxinerama"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  make
  make install PREFIX="/" MANPREFIX=/share/man DESTDIR=$PKG

  cp LICENSE $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
3a3acd9072b7e558e0f8b3bc69e4a63e9ac6918bac6b4c408c489ebc5c66542c5d29f249a06250f2e4cd9df81a4059aeef43153e793653f27a800193f4714b88  dmenu-4.5.tar.lz
"
