NAME="mpg123"
DESC="Console-based MP3 player"
VERSION="1.31.3"
FILES=("https://downloads.sourceforge.net/mpg123/mpg123-$VERSION.tar.bz2")
HASHES=("23ff362764374d3f2051862eea2d9a56")
DEPENDS=("alsa-lib" "pulseaudio")

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

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

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