--- squirrelmail-sent-confirmation-1.6.orig/debian/copyright
+++ squirrelmail-sent-confirmation-1.6/debian/copyright
@@ -0,0 +1,30 @@
+Original source may be found at: http://www.squirrelmail.org/plugin_view.php?id=192
+
+Files: *
+Copyright: © 1999-2004 Paul Lesniewski <paul@squirrelmail.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+
+Files: index.php
+Copyright: © 1999-2004 The SquirrelMail Project Team
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+
+Files: debian/*
+Copyright: © 2008-2009 Jan Hauke Rahm <jhr@debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in file "/usr/share/common-licenses/GPL-2". Possible later
+versions are found within the same directory (e.g.
+"/usr/share/common-licenses/GPL-3").
--- squirrelmail-sent-confirmation-1.6.orig/debian/rules
+++ squirrelmail-sent-confirmation-1.6/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+%:
+	dh $@
+
+override_dh_install:
+	find . -type f -not \( \
+		-path '*/debian/*' -or \
+		-path '*/locales/*' -or \
+		-name 'version' -or \
+		-name 'COPYING' -or \
+		-name 'INSTALL' -or \
+		-name 'README' -or \
+		-name 'getpot' -or \
+		-name 'config.php.sample' \
+		\) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/sent_confirmation/{} \;
+	install -D --mode=644 config.php.sample $(TMP)/etc/squirrelmail/sent-confirmation-config.php
+	dh_install
--- squirrelmail-sent-confirmation-1.6.orig/debian/compat
+++ squirrelmail-sent-confirmation-1.6/debian/compat
@@ -0,0 +1 @@
+7
--- squirrelmail-sent-confirmation-1.6.orig/debian/control
+++ squirrelmail-sent-confirmation-1.6/debian/control
@@ -0,0 +1,21 @@
+Source: squirrelmail-sent-confirmation
+Section: web
+Priority: optional
+Maintainer: Jan Hauke Rahm <jhr@debian.org>
+Build-Depends: debhelper (>= 7.0.50)
+Standards-Version: 3.8.3
+Homepage: http://www.squirrelmail.org/plugin_view.php?id=192
+Vcs-Svn: http://debsvn.jhr-online.de/squirrelmail-sent-confirmation/trunk
+Vcs-Browser: https://cgi.jhr-online.de/viewvc.cgi/debian/squirrelmail-sent-confirmation/trunk
+
+Package: squirrelmail-sent-confirmation
+Architecture: all
+Depends: squirrelmail (>= 2:1.2), squirrelmail-compatibility, ${misc:Depends}
+Description: SquirrelMail plugin: display a confimation message after sending mails
+ This plugin displays a confirmation message above the message index after a
+ message is successfully sent. It can also display a screen offering the option
+ to add any of the message's recipients to the user's address book or move,
+ delete or return to the original message in the case of replies and forwards.
+ .
+ SquirrelMail is a standards-based webmail package written in PHP. It runs on
+ top of any IMAP server.
--- squirrelmail-sent-confirmation-1.6.orig/debian/docs
+++ squirrelmail-sent-confirmation-1.6/debian/docs
@@ -0,0 +1 @@
+README
--- squirrelmail-sent-confirmation-1.6.orig/debian/postinst
+++ squirrelmail-sent-confirmation-1.6/debian/postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+set -e
+
+case "$1" in
+    configure)
+	squirrelmail-configure --remove-plugin sent_confirmation
+	squirrelmail-configure --install-plugin sent_confirmation
+    ;;
+    *)
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- squirrelmail-sent-confirmation-1.6.orig/debian/changelog
+++ squirrelmail-sent-confirmation-1.6/debian/changelog
@@ -0,0 +1,14 @@
+squirrelmail-sent-confirmation (1.6-2) unstable; urgency=low
+
+  * Switching to dh7
+  * Correcting dependencies
+  * Correcting debian/post{inst,rm}
+  * Updated to standards-version 3.8.3
+
+ -- Jan Hauke Rahm <jhr@debian.org>  Sun, 04 Oct 2009 22:00:38 +0200
+
+squirrelmail-sent-confirmation (1.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #473210)
+
+ -- Jan Hauke Rahm <info@jhr-online.de>  Sat, 29 Mar 2008 16:42:42 +0100
--- squirrelmail-sent-confirmation-1.6.orig/debian/watch
+++ squirrelmail-sent-confirmation-1.6/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://squirrelmail.org/plugin_list.php http://squirrelmail.org/plugins/sent_confirmation.([\da-zA-Z\.]+).* debian
--- squirrelmail-sent-confirmation-1.6.orig/debian/links
+++ squirrelmail-sent-confirmation-1.6/debian/links
@@ -0,0 +1 @@
+etc/squirrelmail/sent-confirmation-config.php usr/share/squirrelmail/plugins/sent_confirmation/config.php
--- squirrelmail-sent-confirmation-1.6.orig/debian/postrm
+++ squirrelmail-sent-confirmation-1.6/debian/postrm
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+set -e
+
+# Source debconf library.
+case "$1" in
+    remove)
+	if [ `which squirrelmail-configure` ]
+	then
+	    squirrelmail-configure --remove-plugin sent_confirmation
+	fi
+    ;;
+    *)
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
