--- buffycli-0.7.orig/debian/dirs
+++ buffycli-0.7/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/buffycli/lib
--- buffycli-0.7.orig/debian/copyright
+++ buffycli-0.7/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Penny Leach <penny@mjollnir.org> on
+Wed, 25 Jun 2008 00:59:05 +1200.
+
+It was downloaded from: http://git.debian.org/git/buffy/buffycli.git/
+
+Upstream Author: Penny Leach <penny@mjollnir.org>
+
+Copyright: Copyright (C) 2008 Penny Leach
+
+License:
+
+     buffycli 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 3 of the License, or (at your
+         option) any later version.
+
+         This program is distributed in the hope that it will be useful, but
+         WITHOUT ANY WARRANTY; without even the implied warranty of
+         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+         General Public License for more details.
+
+         You should have received a copy of the GNU General Public License
+         along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+         You are free to distribute this software under the terms of the GNU
+         General Public License. On Debian systems, the complete text of the GNU
+         General Public License can be found in /usr/share/common-licenses/GPL
+         file.
+
+The Debian packaging is (C) 2008, Penny Leach <penny@mjollnir.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
--- buffycli-0.7.orig/debian/changelog
+++ buffycli-0.7/debian/changelog
@@ -0,0 +1,112 @@
+buffycli (0.7-1.4.201403151522) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Sat, 15 Mar 2014 15:22:42 +0100
+
+buffycli (0.7-1) unstable; urgency=low
+
+  * New upstream release 0.7
+    closes: #672768
+    closes: #649091
+
+ -- Penny Leach <penny@mjollnir.org>  Fri, 22 Jun 2012 16:55:08 +0200
+
+buffycli (0.6-2) unstable; urgency=low
+
+  * Updated standards-version
+
+ -- Penny Leach <penny@mjollnir.org>  Wed, 19 Oct 2011 17:38:05 +0200
+
+buffycli (0.6-1) unstable; urgency=low
+
+  * New upstream release 0.6 (fixes offlineimap ui names)
+    Fixed new lintian warnings
+
+ -- Penny Leach <penny@mjollnir.org>  Wed, 19 Oct 2011 17:09:33 +0200
+
+buffycli (0.5-1) unstable; urgency=low
+
+  * New upstream release. Closes: #487858, #573278
+    Update standards-version, fix lintian warning
+
+ -- Penny Leach <penny@mjollnir.org>  Wed, 10 Mar 2010 14:24:38 +0100
+
+buffycli (0.4.1-1) unstable; urgency=low
+
+  * new upstream release, adds oikill
+
+ -- Penny Leach <penny@mjollnir.org>  Thu, 22 Oct 2009 19:36:14 +0200
+
+buffycli (0.4-2) unstable; urgency=low
+
+  * update standards version to 3.8.2
+
+ -- Penny Leach <penny@mjollnir.org>  Sat, 25 Jul 2009 16:42:36 +0200
+
+buffycli (0.4-1) unstable; urgency=low
+
+  * new upstream release, adds terminal title
+
+ -- Penny Leach <penny@mjollnir.org>  Sat, 25 Jul 2009 16:10:23 +0200
+
+buffycli (0.3.2-1) unstable; urgency=low
+
+  * new upstream point release,added setting for showing/hiding totals row
+
+ -- Penny Leach <penny@mjollnir.org>  Sun, 22 Feb 2009 15:46:57 +0100
+
+buffycli (0.3.1-1) unstable; urgency=low
+
+  * new upstream release, one tiny bugfix since 0.3
+
+ -- Penny Leach <penny@mjollnir.org>  Sun, 22 Feb 2009 12:43:06 +0100
+
+buffycli (0.3-1) unstable; urgency=low
+
+  * new upstream release (Closes: #497418)
+
+ -- Penny Leach <penny@mjollnir.org>  Sun, 22 Feb 2009 10:49:05 +0100
+
+buffycli (0.2.1-3) unstable; urgency=low
+
+  * Tame the drunken GNOMES in my computer and show them who's the real boss.
+    Due to some _inexplicable_ reason, commits 1,3,4 of the four commits
+    between -1 and -2 ended up in the source package, but the second commit,
+    the one actually fixing the RC bug and adding the procps dependency,
+    didn't. If this happens again, I will quit computers and take up
+    gardening, or somesuch. Hm, tempting. Maybe the gnomes will think alike
+    and come up again with something supernatural to prevent that this upload
+    actually closes: #505576. Maybe they'll come staying up my chimney, and
+    we'll be living on caviar and honey, hooray!
+
+ -- martin f. krafft <madduck@debian.org>  Wed, 19 Nov 2008 12:30:03 +0100
+
+buffycli (0.2.1-2) unstable; urgency=low
+
+  * Reword the long description a bit.
+  * Add dependency on procps (closes: #505576).
+  * Add myself as an uploader.
+
+ -- martin f. krafft <madduck@debian.org>  Thu, 13 Nov 2008 22:02:54 +0100
+
+buffycli (0.2.1-1) unstable; urgency=low
+
+  * new upstream release
+  * fixes regression introduced in 0.2 which 'fixed' #490431
+
+ -- Penny Leach <penny@mjollnir.org>  Thu, 24 Jul 2008 18:32:28 +0100
+
+buffycli (0.2-1) unstable; urgency=low
+
+  * new upstream release (Closes: #490431, #490407)
+  * fixed debian/copyright line width to make lintian happy
+
+ -- Penny Leach <penny@mjollnir.org>  Mon, 21 Jul 2008 19:25:37 +0100
+
+buffycli (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #487840)
+
+ -- Penny Leach <penny@mjollnir.org>  Wed, 25 Jun 2008 00:59:05 +1200
+
--- buffycli-0.7.orig/debian/compat
+++ buffycli-0.7/debian/compat
@@ -0,0 +1 @@
+6
--- buffycli-0.7.orig/debian/install
+++ buffycli-0.7/debian/install
@@ -0,0 +1,2 @@
+bin/buffycli usr/bin/
+lib/Buffy    usr/share/buffycli/lib/
--- buffycli-0.7.orig/debian/rules
+++ buffycli-0.7/debian/rules
@@ -0,0 +1,54 @@
+#!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+
+
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+build-arch: build
+build-indep: build
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	
+	mkdir -p $(TMP)/usr/share/man/man1
+	pod2man -s1p bin/buffycli $(TMP)/usr/share/man/man1/buffycli.1p
+	
+	touch install-stamp
+
+# Build architecture-independent files here:
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README TODO AUTHORS
+	dh_installchangelogs
+	dh_installman
+	dh_install
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl /usr/bin /usr/lib /usr/share/buffycli/lib
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here:
+binary-arch:
+	# Nothing to do.
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install
--- buffycli-0.7.orig/debian/control
+++ buffycli-0.7/debian/control
@@ -0,0 +1,30 @@
+Source: buffycli
+Section: mail
+Priority: optional
+Maintainer: Penny Leach <penny@mjollnir.org>
+Uploaders: martin f. krafft <madduck@debian.org>
+Build-Depends: debhelper (>= 6), perl
+Standards-Version: 3.9.3
+Vcs-Git: git://git.debian.org/git/buffy/buffycli.git
+Vcs-Browser: http://git.debian.org/?p=buffy/buffycli.git
+
+Package: buffycli
+Architecture: all
+Depends: ${misc:Depends}, perl, libtext-formattable-perl, libtie-ixhash-perl, libbuffy-perl (>= 0.10), procps, libfile-which-perl, libproc-simple-perl
+Suggests: mutt, offlineimap
+Description: Text mode alternative to Buffy
+ buffycli displays a compact summary of your mail folders in text-mode, and
+ allows you to invoke a command (usually a mail reader) on them. It is written
+ with the intent of being a handy everyday tool for people handling large
+ volumes of mail. For mutt users, this can be a nice front-end to supplement
+ the simple built-in folder browser when one has many folders to keep track of.
+ It tries hard to work out of the box: it looks for mail folders in sensible
+ places and comes with reasonable defaults.
+ .
+ buffycli uses the same backend as Buffy, but it outputs text to the terminal,
+ rather than a GUI window. It is thus suitable to be used over SSH links, and
+ fits nicely with window managers that are primarily used to organise
+ terminals.
+ .
+ Buffycli is functional but still very young, and only Maildir and Mailbox
+ format are supported at the moment.
--- buffycli-0.7.orig/debian/docs
+++ buffycli-0.7/debian/docs
@@ -0,0 +1,3 @@
+README
+TODO
+AUTHORS
--- buffycli-0.7.orig/bin/buffycli
+++ buffycli-0.7/bin/buffycli
@@ -60,8 +60,7 @@
 use strict;
 use warnings;
 
-use FindBin;
-use lib  "$FindBin::Bin/../lib/";
+use lib "/usr/share/buffycli/lib/";
 
 use Buffy;
 use Buffy::CLI;
