# Maintainer: PktSurf <smlinux@pktsurf.in>
app=cmatrix
version=2.0
build=1sml
homepage="https://github.com/abishekvashok/cmatrix"
download="https://github.com/abishekvashok/cmatrix/archive/refs/tags/v$version.tar.gz"
desc="Terminal application that emulates The Matrix movie scroll lines on the screen"
requires="netbsd-curses"

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

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

  autoreconf -vif
}

build() {
  ./configure \
    --prefix=

  make 
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
a9a52ececd44d2b09615c4809ca5db07c6c3aa33271e50b0a6afeb3e6d57b450698889ab0e342490e31618eebe2e4c2cfe46b8ce162520dc9fd8475e82e003b3  cmatrix-2.0.tar.lz
"
