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

EAPI=7

DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} )

inherit distutils-r1

DESCRIPTION="Python implementation of Mimikatz"
HOMEPAGE="https://github.com/skelsec/pypykatz"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"

RDEPEND=">=dev-python/minidump-0.0.17[${PYTHON_USEDEP}]
	>=dev-python/minikerberos-0.2.11[${PYTHON_USEDEP}]
	>=dev-python/aiowinreg-0.0.4[${PYTHON_USEDEP}]
	>=dev-python/msldap-0.2.29[${PYTHON_USEDEP}]
	>=dev-python/winacl-0.1.1[${PYTHON_USEDEP}]
	>=dev-python/aiosmb-0.2.41[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

PATCHES=(
	"${FILESDIR}/84.patch"
)
