app=cmatrix
version=2.0
build=1sml
homepage="https://github.com/abishekvashok/cmatrix"
download="https://github.com/abishekvashok/cmatrix/archive/refs/tags/v2.0.tar.gz"
desc="Terminal application that emulates The Matrix movie scroll lines on the screen"
requires="netbsd-curses"

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

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

  autoreconf -vif

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

  make 
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
1aeecd8e8abb6f87fc54f88a8c25478f69d42d450af782e73c0fca7f051669a415c0505ca61c904f960b46bbddf98cfb3dd1f9b18917b0b39e95d8c899889530  cmatrix-2.0.tar.gz
"
