E voting could be made safe if the machines printed the users choice on a little slip of paper which was then put into a box, to be counted once the election is over.
You could have the machines tally the votes a few seconds after the last poll location closes, but the election result isn't official until the votes has been counted.
Any trust in the machines at all and you might as well have the election take place in NK.