@Hop,
I wouldn't go the AC line way.
1. It is not accurate at all about ±5%
2. It is relatively expansive(transformer)
The way to go is with a CD4060 + 32.768kHz clock crystal (dirt cheap,and may be yanked out of a broken digital clock-almost all of them have one)