[Advice needed] Building a small BCD clock.

PPS: You could also do it with an ATtiny84 and a technique called "charlieplexing". It allows you to control (eg.) six LEDs with only three pins but it's tricky to get right.

See: Charlieplexing - Wikipedia