# Description: Wrap command line applications with readline support
# URL: https://github.com/hanslub42/rlwrap
# Maintainer:  Cory Burgett, cmburget at gmail dot com
# Depends on: readline

name=rlwrap
version=0.45.2
release=1
source=(https://github.com/hanslub42/rlwrap/releases/download/v$version/$name-$version.tar.gz)

build() {
	cd $name-$version

	./configure --prefix=/usr --libexecdir=/usr/lib/$name --sysconfdir=/etc \
	            --disable-nls
	make
	make DESTDIR=$PKG install

	rm $PKG/usr/share/rlwrap/filters/README
}