# Description: Command line editor library providing generic line editing, history, and tokenization functions
# URL: https://thrysoee.dk/editline/
# Maintainer: CRUX System Team, core-ports at crux dot nu

name=libedit
version=20260512-3.1
release=1
source=(https://thrysoee.dk/editline/$name-$version.tar.gz)

build() {
    cd $name-$version

    ./configure --prefix=/usr

    make
    make DESTDIR=$PKG install

    ln -s editline.3 $PKG/usr/share/man/man3/el.3
}
