# Copyright 2026 ReK2 - Chris F.N. <rek2@hispagatos.org>
# https://rek2.hispagatos.org
# Distributed under the terms of the GNU General Public License v3

EAPI=8

DESCRIPTION="Fast and multi-purpose DNS toolkit"
HOMEPAGE="https://github.com/projectdiscovery/dnsx"
SRC_URI="https://github.com/projectdiscovery/dnsx/releases/download/v${PV}/dnsx_${PV}_linux_amd64.zip"
S="${WORKDIR}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="app-arch/unzip"
QA_PREBUILT="*"

src_install() {
	newbin dnsx dnsx
	dodoc LICENSE.md README.md
}