--- /dev/null
+diff -urN bcount-1.0test2.orig/src/bclient.h bcount-1.0test2/src/bclient.h
+--- bcount-1.0test2.orig/src/bclient.h 2003-06-01 19:23:43.000000000 +0200
++++ bcount-1.0test2/src/bclient.h 2004-05-26 19:18:37.011309584 +0200
+@@ -26,7 +26,7 @@
+
+ #include <sys/types.h>
+ #include <arpa/inet.h>
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #include <getopt.h>
+ #include <netdb.h>
+ #include <sys/time.h>
+diff -urN bcount-1.0test2.orig/src/bcount.h bcount-1.0test2/src/bcount.h
+--- bcount-1.0test2.orig/src/bcount.h 2003-08-07 23:20:10.000000000 +0200
++++ bcount-1.0test2/src/bcount.h 2004-05-26 19:18:50.843206816 +0200
+@@ -26,7 +26,7 @@
+
+
+ #include <sys/stat.h>
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #include <fcntl.h>
+ #include <sys/time.h>
+ #include <pwd.h>
+diff -urN bcount-1.0test2.orig/src/bserver.h bcount-1.0test2/src/bserver.h
+--- bcount-1.0test2.orig/src/bserver.h 2003-06-01 19:23:51.000000000 +0200
++++ bcount-1.0test2/src/bserver.h 2004-05-26 19:18:57.368214864 +0200
+@@ -26,7 +26,7 @@
+
+
+ #include <sys/wait.h>
+-#include <curses.h>
++#include <ncurses/curses.h>
+ #include <fcntl.h>
+ #include "programs_version.h"
+ #include "includes.h"
--- /dev/null
+Summary: Bytes counter
+Summary(pl): Licznik bajtów
+Name: bcount
+Version: 1.0test2
+Release: 0.1
+License: GPL
+Group: Networking/Utilities
+Source0: http://www.deth.org.pl/~alex/bcount/%{name}-%{version}.tar.gz
+# Source0-md5: af92076cb4dbb870b991b677d0ad3bc2
+Patch0: %{name}-ncurses.patch
+URL: http://www.deth.org.pl/~alex/bcount/
+BuildRequires: ncurses-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bytes Counter displays detailed information about the number of bytes
+and packets that have been transferred over a network interface.
+
+%description -l pl
+Bcount jest licznikiem pokazuj±cym informacjê o bajtach i pakietach
+przechodz±cych przez interfejs sieciowy.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_sbindir},/var/log}
+install bcount $RPM_BUILD_ROOT%{_sbindir}
+
+:> $RPM_BUILD_ROOT/var/log/bcount.log
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO README.protocol
+%doc README.log README.ethx README.fuckyou
+%attr(755,root,root) %{_sbindir}/*
+%attr(640,root,root) %ghost /var/log/bcount.log