app=pwgen
version=2.07
build=1sml
homepage="https://sourceforge.net/projects/pwgen"
desc="A small tool to generate semi-random passwords"
requires="musl"

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

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

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

  make
  make install DESTDIR=$pkg

  cp debian/copyright $pkgdocs/LICENSE

  mkfinalpkg
}

sha512sums="
c70080820e1502f2f25e6f8c4b6b7df4bd8f5aa0a502f215e56b3142fe5e2a6150275d42a0f526638b7cb7b8b7512aae8ab39d4ecd893995de72be20a29ee1e9  pwgen-2.07.tar.lz
"
