The hypernetted-chain approximation for a fermion system