#!/bin/sh

MAKEDEPS="make"
DEPS="musl perl"

PKG_VER=4.4.26
SOURCE=https://github.com/besser82/libxcrypt/releases/download/v$PKG_VER/libxcrypt-$PKG_VER.tar.xz
DESC="A modern library for one-way hashing of passwords"

build () {
    CC=gcc ./configure --prefix=/usr 
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}