diff --git a/srcpkgs/python3-cattrs/template b/srcpkgs/python3-cattrs/template
new file mode 100644
index 00000000000..70ab0f250ec
--- /dev/null
+++ b/srcpkgs/python3-cattrs/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-cattrs'
+pkgname=python3-cattrs
+version=23.2.3
+revision=1
+build_style=python3-pep517
+make_check_args="--ignore tests/test_preconf.py
+ --ignore tests/test_unstructure_collections.py"
+make_check_target="tests"
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-attrs"
+checkdepends="python3-pytest-xdist python3-hypothesis ${depends}"
+short_desc="Composable custom class converters for Python"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="MIT"
+homepage="https://catt.rs"
+changelog="https://github.com/python-attrs/cattrs/blob/main/HISTORY.md"
+distfiles="${PYPI_SITE}/c/cattrs/cattrs-${version}.tar.gz"
+checksum=a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f
+
+pre_check() {
+	vsed -i -e '/addopts/d' pyproject.toml
+}
+
+post_install() {
+	vlicense LICENSE
+}