A compact radio telescope for the 21 cm neutral-hydrogen line