# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Tool to manage (PAM) userdb files with crypted passwords"
HOMEPAGE="https://nasauber.de/opensource/userdbadm/"
SRC_URI="https://nasauber.de/opensource/${PN}/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="dev-lang/perl:0=[berkdb]
	virtual/perl-DB_File"
RDEPEND="${DEPEND}"

src_install() {
	einstalldocs
	dobin userdbadm
}