1. Make sure you have sources repositories enabled
Edit your /etc/apt/sources.list file and make sure you have a line similar with the one below:
deb-src ftp://ftp.ro.debian.org/debian/ lenny main contrib non-free
2. Install the needed dependencies
Use apt-get build-dep as root to install BasKet's dependencies:
apt-get build-dep basket
3. Download the source
Get the source tarball for the latest BasKet release from the official homepage.
4. Compile and install
Uncompress the tarball, change the current working to basket-220.127.116.11 (or whatever version you may have), and issue the usual:
The last one as root. BasKet should be now properly installed.
BasKet 18.104.22.168 - Even better!
I recently wrote a full review of BasKet, you can read it here.