diff --git a/debian/control b/debian/control
index 1c0389c..9268778 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
 Build-Depends:
  debhelper-compat (= 13),
- dh-python,
+ dh-sequence-python3,
  python3,
  python3-prompt-toolkit (>= 3.0.16),
  python3-pygments,
diff --git a/debian/rules b/debian/rules
index c89e472..8eeaff8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,4 @@
 export PYBUILD_NAME=ptpython
 
 %:
-	dh ${@} --buildsystem=pybuild --with python3
+	dh ${@} --buildsystem=pybuild