# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=lrzsz
pkgver=0.12.20
pkgrel=0
pkgdesc="Unix communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"
url="https://ohse.de/uwe/software/lrzsz.html"
arch="all"
license="GPL"
source="https://ohse.de/uwe/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make install -j1 DESTDIR="$pkgdir"
}

sha512sums="9bce64036f1f1c65f5910f19802aecaf3dc5ffeab0feeca10fa8d2fe1b83e212391cce23056d22fd0eda52df89e12ede68eb5d22ffcf22f935910d2af7399f12  lrzsz-0.12.20.tar.gz"
